#!/bin/env python

# Lucid is Copyright (C) 2006 by Infiscape
#
# Original Author: Allen Bierbaum
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

import sys
from PyQt4 import QtCore, QtGui

class Ui_Form(object):
   def setupUi(self, Form):
      Form.setObjectName("Form")
      Form.resize(QtCore.QSize(QtCore.QRect(0,0,620,836).size()).expandedTo(Form.minimumSizeHint()))

      self.vboxlayout = QtGui.QVBoxLayout(Form)
      self.vboxlayout.setMargin(9)
      self.vboxlayout.setSpacing(6)
      self.vboxlayout.setObjectName("vboxlayout")

      self.splitter_2 = QtGui.QSplitter(Form)
      self.splitter_2.setOrientation(QtCore.Qt.Vertical)
      self.splitter_2.setObjectName("splitter_2")

      self.splitter = QtGui.QSplitter(self.splitter_2)
      self.splitter.setOrientation(QtCore.Qt.Horizontal)
      self.splitter.setObjectName("splitter")

      self.layoutWidget = QtGui.QWidget(self.splitter)
      self.layoutWidget.setObjectName("layoutWidget")

      self.vboxlayout1 = QtGui.QVBoxLayout(self.layoutWidget)
      self.vboxlayout1.setMargin(0)
      self.vboxlayout1.setSpacing(6)
      self.vboxlayout1.setObjectName("vboxlayout1")

      self.hboxlayout = QtGui.QHBoxLayout()
      self.hboxlayout.setMargin(0)
      self.hboxlayout.setSpacing(6)
      self.hboxlayout.setObjectName("hboxlayout")

      self.mCreateFCBtn = QtGui.QToolButton(self.layoutWidget)
      self.mCreateFCBtn.setIcon(QtGui.QIcon(":/icons/data/icons/new_16.png"))
      self.mCreateFCBtn.setObjectName("mCreateFCBtn")
      self.hboxlayout.addWidget(self.mCreateFCBtn)

      self.mDelFCBtn = QtGui.QToolButton(self.layoutWidget)
      self.mDelFCBtn.setIcon(QtGui.QIcon(":/icons/data/icons/delete_16.png"))
      self.mDelFCBtn.setObjectName("mDelFCBtn")
      self.hboxlayout.addWidget(self.mDelFCBtn)

      self.mTypeCombo = QtGui.QComboBox(self.layoutWidget)
      self.mTypeCombo.setObjectName("mTypeCombo")
      self.hboxlayout.addWidget(self.mTypeCombo)
      self.vboxlayout1.addLayout(self.hboxlayout)

      self.mFCList = QtGui.QListView(self.layoutWidget)
      self.mFCList.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
      self.mFCList.setObjectName("mFCList")
      self.vboxlayout1.addWidget(self.mFCList)

      self.mGLWindowFrame = QtGui.QFrame(self.splitter)
      self.mGLWindowFrame.setFrameShape(QtGui.QFrame.StyledPanel)
      self.mGLWindowFrame.setFrameShadow(QtGui.QFrame.Raised)
      self.mGLWindowFrame.setObjectName("mGLWindowFrame")

      self.layoutWidget1 = QtGui.QWidget(self.splitter_2)
      self.layoutWidget1.setObjectName("layoutWidget1")

      self.vboxlayout2 = QtGui.QVBoxLayout(self.layoutWidget1)
      self.vboxlayout2.setMargin(0)
      self.vboxlayout2.setSpacing(6)
      self.vboxlayout2.setObjectName("vboxlayout2")

      self.mFcdEditArea = QtGui.QTreeView(self.layoutWidget1)
      self.mFcdEditArea.setObjectName("mFcdEditArea")
      self.vboxlayout2.addWidget(self.mFcdEditArea)
      self.vboxlayout.addWidget(self.splitter_2)

      self.retranslateUi(Form)
      QtCore.QMetaObject.connectSlotsByName(Form)

   def retranslateUi(self, Form):
      Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
      self.mCreateFCBtn.setText(QtGui.QApplication.translate("Form", "crt", None, QtGui.QApplication.UnicodeUTF8))
      self.mDelFCBtn.setText(QtGui.QApplication.translate("Form", "del", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
   app = QtGui.QApplication(sys.argv)
   Form = QtGui.QWidget()
   ui = Ui_Form()
   ui.setupUi(Form)
   Form.show()
   sys.exit(app.exec_())
